<?php
/**
 * Created by PhpStorm.
 * User: yangfan
 * Date: 2019/11/20
 * Time: 2:23 PM
 */

namespace App\BO\Coupon\CouponProductSkuCheck;

use App\BO\PipelineConfig;

class CouponProductSkuCheckProxy
{
    public static function getConfigEnv()
    {
        $couponCheck = config('coupon-check');
        $pipelineConfig = new PipelineConfig();
        $pipelineConfig->setHandle('check');
        $pipelineConfig->setPipes($couponCheck['product-sku-check']);

        return $pipelineConfig;
    }
}
